<?php

namespace App\Models\Account;

use App\Models\BaseModel;

class UserGroupMenuActionScope extends BaseModel
{

    protected $table = 'user_group_menu_action_scopes';

    protected $fillable = ['group_id', 'menu_id', 'action_id', 'data_scope', 'scope_id'];

    public function scopes()
    {
        return $this->belongsTo('App\Models\Common\DataScope', 'scope_id');
    }
}
